//完整引入element-plus资源
import 'element-plus/dist/index.css'
import ElementPlus from 'element-plus'

import { createApp } from 'vue'
import  pinia from './stores'

import App from './App.vue'
import router from './router'

//初始化esri的apikey
import esriConfig from '@arcgis/core/config.js'
esriConfig.apiKey =
  'AAPT85fOqywZsicJupSmVSCGrlTz70zY2hZs-s_Kvl4RL6ZrzSwLmsCQqpT32n_x4k3s6n4pLqcQRoKArl96cN-sj-Idxg05rO299uWZxgpt79UiFY61bd-IFZ6ve1ahOlQ47tAlKysS9b_r-ap2v8im_pBeMbGbrYeXKUGNbl4EOvoyirY7N2LBi_ZGbC5URR074a5UrioFIJA9kE06om5LBuNq10WHVB1aPU-UBSH9pt5yykcBjMioLZhCU32LWswsAT2_dVTj82a0'
//初始化esri语言
import * as intl from '@arcgis/core/intl.js'
intl.setLocale('zh-CN')

const app = createApp(App)
app.use(ElementPlus)
app.use(pinia)
app.use(router)

app.mount('#app')
